package de.dailab.graphworld.ontology.exceptions;

import de.dailab.graphworld.ontology.Node;

/**
 * The CapacityExceededException indicates that the carrying capacity for the agent was exceeded.
 * @author jakob
 *
 */
public class CapacityExceededException extends GraphWorldException {
	private static final long serialVersionUID = -1614326148365240636L;

	public CapacityExceededException(int capacity, Node position) {
		super("Agent cannot carry that much gold, maximum capacity is " + String.valueOf(capacity), position);
	}
	
}
